package com.hhit.bigscreenbackmanage.dao.tgygl;

import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglConstructPlanAmiYc;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TTgyglConstructPlanAmiYcMapper {
    int deleteByPrimaryKey(Integer id);

    /**
     * 根据年份或者月份删除数据
     * @param month
     * @param year
     * @return
     */
    void deleteByNfAndFf(int year, int month);


    int insert(TTgyglConstructPlanAmiYc record);

    int insertSelective(TTgyglConstructPlanAmiYc record);

    TTgyglConstructPlanAmiYc selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTgyglConstructPlanAmiYc record);

    int updateByPrimaryKey(TTgyglConstructPlanAmiYc record);

    List<TTgyglConstructPlanAmiYc> selectByBean(TTgyglConstructPlanAmiYc tTgyglConstructPlanAmiYc);

}